package org.example.stream;

import com.alibaba.fastjson.JSON;

/**
 * @author: lynn
 * @Descript:
 * @date: 2023/7/1 15:22
 * @version: 1.0
 */
public class StudentVo {
    private String name;
    private String sex;
    private int age;

    public StudentVo(String name, String sex, int age) {
        this.name = name;
        this.sex = sex;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
